package com.aiti.lulian.service;

import com.aiti.base.core.base.service.BaseService;
import com.aiti.lulian.dto.CardInquiryDto;
import com.aiti.lulian.entity.CardAccessRecord;
import com.aiti.lulian.entity.crad.CardInquiry;
import com.aiti.lulian.vo.CardInquiryVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

public interface ICardInquiryService extends BaseService<CardInquiry> {

    /**
     * 查询当前用户的询盆列表
     * @param dto
     * @return
     */
    List<CardInquiryVo> getInquiryList(Page page, CardInquiryDto dto);

    CardInquiry getInquiryDetailInfo(CardInquiry cardInquiry);

    Page<CardInquiry> getInquiryPage(Page<CardInquiry> page, CardInquiryDto dto,String userId);
}
